<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>注册</title>
    <link href="../css/style.css" type="text/css" rel="stylesheet">
</head>
<body>
    <form action="../user/addUser" method="post" class="registFormClass">
        <table>
            <tr>
                <td>登录账号:</td>
                <td>
                    <input type="text" name="loginName" id="loginName">
                </td>
            </tr>
            <tr>
                <td>密码:</td>
                <td>
                    <input type="password" name="password" id="password">
                </td>
            </tr>
            <tr>
                <td>用户姓名:</td>
                <td>
                    <input type="text" name="userName" id="userName">
                </td>
            </tr>
            <tr>
                <td>身份:</td>
                <td>
                    <input type="radio" name="type" value="1" checked>普通员工
                    <input type="radio" name="type" value="2">中层管理员
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <input type="submit" value="注  册" id="">
                    <p><font color="red">${registError }</font></p>
                </td>
            </tr>
        </table>
    </form>
    ${pageContext.request.contextPath }
</body>
</html>